package cn.aib.process;

import cn.aib.commonutils.R;
import com.alibaba.fastjson.JSON;

import java.util.Map;

public class testMember {

    public static void main(String[] args) {
        R result = R.ok();

        result.data("key1","v1");

        String strR = JSON.toJSONString(result);

        Map<String,Object> RMap = JSON.parseObject(strR,Map.class);

        System.out.println(RMap);
        System.out.println(RMap.get("data"));
    }
}
